//
//  iBacchanal.h
//  PartyAnimal
//
//  Created by Hilary Muludiang on 4/5/12.
//  Copyright 2012 Muludiang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "iAd/ADBannerView.h"

@interface iBacchanal : NSObject {

	// Carnivals
	NSMutableArray *carnivalsData;
	NSString *carnivalsID;
	NSString *selectedCity;
	NSString *selectedYear;
	NSString *selectedYearMonth;
	NSString *selectedView;
	NSString *carnivalDate;
	
	// Mas Bands
	NSMutableArray *masBandsData;
	NSString *masBandID;
	NSString *masBandSectionID;
	
	// Events
	NSMutableArray *eventsData;
	NSString *eventID;
	NSMutableArray *eventFlyersArray;
	UIImage *flyerSideOne;
	UIImage *flyerSideTwo;
	NSString *eventName;
	NSString *eventSubmitter;
	
	NSString *currentUser;
	
	BOOL loggedIn;
	BOOL dataChanged;
	
	id adBannerView;
	BOOL adBannerViewIsVisible;
	
}

@property BOOL networkUp;
@property BOOL stackmobLoaded;
@property(nonatomic,retain) NSString *upMessage;
@property(nonatomic,retain) NSString *downMessage;

@property(nonatomic,retain) NSMutableArray *carnivalsData;
@property(nonatomic,retain) NSString *carnivalID;
@property(nonatomic,retain) NSString *selectedCity;
@property(nonatomic,retain) NSString *selectedYear;
@property(nonatomic,retain) NSString *selectedYearMonth;
@property(nonatomic,retain) NSString *selectedView;
@property(nonatomic,retain) NSString *carnivalDate;

@property(nonatomic,retain) NSMutableArray *masBandsData;
@property(nonatomic,retain) NSString *masBandID;
@property(nonatomic,retain) NSString *masBandSectionID;

@property(nonatomic,retain) NSMutableArray *eventsData;
@property(nonatomic,retain) NSString *eventID;
@property(nonatomic,retain) NSMutableArray *eventFlyersArray;
@property(nonatomic,retain) UIImage *flyerSideOne;
@property(nonatomic,retain) UIImage *flyerSideTwo;
@property(nonatomic,retain) NSString *eventName;
@property(nonatomic,retain) NSString *eventSubmitter;


@property(nonatomic,retain) NSString *currentUser;
@property BOOL loggedIn;
@property BOOL dataChanged;

@property (nonatomic,retain) id adBannerView;
@property (nonatomic) BOOL adBannerViewIsVisible;


-(int)getBannerHeight;
-(int)getBannerHeight:(UIDeviceOrientation)orientation;
+(iBacchanal *)sharedUser;

@end
